<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<c:set var="ctx" value="<%=request.getContextPath()%>"/>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->

<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->

<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<head>
	<meta charset="utf-8" />

	<title>EfastServ | Home Page</title>

	<meta content="width=device-width, initial-scale=1.0" name="viewport" />

	<meta content="" name="description" />

	<meta content="" name="author" />

	<!-- BEGIN GLOBAL MANDATORY STYLES -->

	<link href="${ctx}/media/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>

	<link href="${ctx}/media/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"/>

	<link href="${ctx}/media/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>

	<link href="${ctx}/media/css/style-metro.css" rel="stylesheet" type="text/css"/>

	<link href="${ctx}/media/css/style.css" rel="stylesheet" type="text/css"/>

	<link href="${ctx}/media/css/style-responsive.css" rel="stylesheet" type="text/css"/>

	<link href="${ctx}/media/css/default.css" rel="stylesheet" type="text/css" id="style_color"/>

	<link href="${ctx}/media/css/uniform.default.css" rel="stylesheet" type="text/css"/>
	
	<link rel="stylesheet" type="text/css" href="${ctx}/media/css/select2_metro.css" />
	<link rel="stylesheet" href="${ctx}/media/css/DT_bootstrap.css" />

	<!-- END GLOBAL MANDATORY STYLES -->

	<link rel="shortcut icon" href="${ctx}/media/image/favicon.ico" />

<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->

	<!-- BEGIN CORE PLUGINS -->

	<script src="${ctx}/media/js/jquery-1.10.1.min.js" type="text/javascript"></script>

	<script src="${ctx}/media/js/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>

	<!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->

	<script src="${ctx}/media/js/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>      

	<script src="${ctx}/media/js/bootstrap.min.js" type="text/javascript"></script>


	<!-- Bootbox -->
	<script type="text/javascript" src="${ctx}/plugins/bootbox/bootbox.js"></script>
	
	
	<!-- Noty -->
	<script type="text/javascript" src="${ctx}/plugins/noty/jquery.noty.js"></script>
	<script type="text/javascript" src="${ctx}/plugins/noty/layouts/top.js"></script>
	<script type="text/javascript" src="${ctx}/plugins/noty/layouts/center.js"></script>
	<script type="text/javascript" src="${ctx}/plugins/noty/themes/default.js"></script>
	
	<!--[if lt IE 9]>

	<script src="${ctx}/media/js/excanvas.min.js"></script>

	<script src="${ctx}/media/js/respond.min.js"></script>  

	<![endif]-->   

	<script src="${ctx}/media/js/jquery.slimscroll.min.js" type="text/javascript"></script>

	<script src="${ctx}/media/js/jquery.blockui.min.js" type="text/javascript"></script>  

	<script src="${ctx}/media/js/jquery.cookie.min.js" type="text/javascript"></script>

	<script src="${ctx}/media/js/jquery.uniform.min.js" type="text/javascript" ></script>
	<script type="text/javascript" src="${ctx}/media/js/select2.min.js"></script>
	<script type="text/javascript" src="${ctx}/media/js/jquery.dataTables.js"></script>
	<script type="text/javascript" src="${ctx}/media/js/DT_bootstrap.js" type="text/javascript" ></script>
	<!-- END CORE PLUGINS -->
	<script src="${ctx}/media/js/jquery.validate.min.js" type="text/javascript"></script>
	<script src="${ctx}/media/js/app.js"></script>      
	<!-- 表单验证js -->
<script type="text/javascript" src="${ctx}/media/js/form-validation.js"></script>
<script src="${ctx}/media/js/sidebar-menu.js"></script>
	<script>

		jQuery(document).ready(function() {    

		   App.init();
		   
		});
		
		function openURL(url){
			$('#iframepage').attr('src',url);
		}
		
		function iFrameHeight() {

	        var ifm= document.getElementById("iframepage");

	        var subWeb = document.frames ? document.frames["iframepage"].document : ifm.contentDocument;

	            if(ifm != null && subWeb != null) {

	            ifm.height = subWeb.body.scrollHeight;

	            }

	    }
	</script>


<%
	String contextPath = request.getContextPath();
	pageContext.setAttribute("contextPath", contextPath);
%>